Recognition of Positive 2-Interval Boolean Functions
نویسندگان
چکیده
Boolean function f on n variables is represented by set I of disjoint intervals of non-negative n-bit integers, if the following condition holds: vector x of length n is a truepoint of f , if and only if integer x, binary representation of which corresponds to vector x, belongs to some interval from I. In this paper we present a polynomial-time algorithm recognizing, whether a Boolean function given by a positive prime DNF can be represented by two intervals. Introduction Interval Boolean functions were introduced in [Schieber et al., 2005], where the minimal DNF representations of these functions were studied. The motivation of this research lies in the branch of hardware verification ([Chandra and Iyengar, 1992], [Lewin et al., 1995]) and software testing ([DeMillo and Offutt, 1991]), where more compact DNF representations of interval functions can be used to generate test data faster. In this paper we generalize the results from [Čepek et al., 2006], where we presented (together with other results) a polynomial algorithm recognizing, whether a given positive DNF represents a function, which can be represented by a single interval. Here we formulate a polynomial algorithm recognizing positive 2-interval functions. Since 1-interval functions constitute a (proper) subclass of 2-interval functions and the algorithm presented here has the same asymptotic time complexity as the algorithm from [Čepek et al., 2006] recognizing positive 1-interval functions, our new algorithm extends the previous result. Representation of a Boolean function using a small number of intervals constitutes a compact and efficient representation of the function. Therefore results (such as the one of ours) concerning recognizing whether a given function can be represented by a small number of intervals contribute to the problem of Boolean function minimization, i.e., problem when we are searching for a minimal representation of a Boolean function. This paper is structured as follows. In the rest of this section we introduce all the necessary notation and definitions. In the next section we develop the algorithm recognizing positive 2-interval functions. We give several concluding remarks in the last section. Let us start with some basic definitions. ABoolean function, or a function in short, on n propositional variables is a mapping f : {0, 1} 7→ {0, 1}. A Boolean vector of length n is an n-tuple of Boolean values 0 and 1 (usually denoted by false and true). Boolean vectors (or vectors for short) will be denoted by x,y . . .. If f(x) = 1 (0, resp.), then x is called a true (false, resp.) vector of f (sometimes called truepoint resp. falsepoint). The set of all true vectors (false vectors) is denoted by T (f) (F (f)). For function f on n variables and v ∈ {0, 1} we denote by f [xi := v] the function on (n − 1) variables, which is formed from f by fixing the value of i-th variable to v. Propositional variables x1, . . . , xn and their negations x1, . . . , xn are called literals (positive and negative literals, respectively). An elementary conjunction of literals
منابع مشابه
Interval Representations of 2-Monotonic and Threshold Boolean Functions
Threshold, 2-monotonic and interval Boolean functions constitute special classes of Boolean functions for which it is easy to decide many problems which are intractable for general Boolean functions. In our article we show that positive interval functions are a proper subset of positive threshold functions. Then we prove one property of 2-monotonic functions which is related to testing whether ...
متن کاملRelations of Threshold and k-Interval Boolean Functions
Every k-interval Boolean function f can be represented by at most k intervals of integers such that vector x is a truepoint of f if and only if the integer represented by x belongs to one of these k (disjoint) intervals. Since the correspondence of Boolean vectors and integers depends on the order of bits an interval representation is also specified with respect to an order of variables of the ...
متن کاملWeighted similarity measure on interval-valued fuzzy sets and its application to pattern recognition
A new approach to define the similarity measure betweeninterval-valued fuzzy sets is presented. The proposed approach isbased on a weighted measure in which the normalized similaritiesbetween lower functions and also between upper functions arecombined by a weight parameter. The properties of this similaritymeasure are investigated. It is shown that, the proposed measurehas some advantages in c...
متن کاملON THE FUZZY SET THEORY AND AGGREGATION FUNCTIONS: HISTORY AND SOME RECENT ADVANCES
Several fuzzy connectives, including those proposed by Lotfi Zadeh, can be seen as linear extensions of the Boolean connectives from the scale ${0,1}$ into the scale $[0,1]$. We discuss these extensions, in particular, we focus on the dualities arising from the Boolean dualities. These dualities allow to transfer the results from some particular class of extended Boolean functions, e.g., from c...
متن کاملDual Subimplicants of Positive Boolean Functions∗
Given a positive Boolean function f and a subset ∆ of its variables, we give a combinatorial condition characterizing the existence of a prime implicant D̂ of the Boolean dual fd of f , having the property that every variable in ∆ appears in D̂. We show that the recognition of this property is an NP-complete problem, suggesting an inherent computational difficulty of Boolean dualization, independ...
متن کامل